package com.hoshino.momochi.service.Impl;

import com.hoshino.momochi.mapper.TagMapper;
import com.hoshino.momochi.model.domain.Tag;
import com.hoshino.momochi.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TagServiceImpl implements TagService {

    @Autowired
    private TagMapper tagMapper;

    @Override
    public void addListTag(List<String> ids) {
        tagMapper.addListTag(ids);
    }

    @Override
    public List<Tag> getAllTagList() {
        return tagMapper.getAllTagList();
    }

    @Override
    public void delIsDeleteAsTrue() {
        tagMapper.delIsDeleteAsTrue();
    }
}
